﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MementoClient.ViewModels;
using MementoLibrary.DTOs;
using MementoClientConnectorInterfaces;

namespace MementoClient.Interfaces
{
    public interface IDataRepository
    {
        void GetClientData(DateTime from, DateTime to, string userName, Action<ClientDataContainer> callback);
        void GetCategoryGroups(Action<IEnumerable<CategoryGroupDTO>> callback);
        List<WorkLogDTO> GetWorkLogs();
        IEnumerable<Task> GetTasksForUser(string userName);
        void SaveWorkLog(WorkLogDTO workLog);
    }
}
